package com.sys.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author Eric Fang
 * @version 1.0
 * @date 2022/3/24 17:04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_security")
@ApiModel(value="security对象", description="")
public class Security implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer userId;

    private Integer deptId;

    private Integer isFever;

    private Integer isRiskArea;

    private String symptom;

    private Integer divide;

    @TableField(exist = false)
    private String userName;

    @TableField(exist = false)
    private String deptName;
}
